import dayjs from 'dayjs';
import relativeTime from 'dayjs/plugin/relativeTime';
import 'dayjs/locale/zh-cn';
// var relativeTime = require('dayjs/plugin/relativeTime')
// import('dayjs/locale/zh-cn')

dayjs.locale('zh-cn');
dayjs.extend(relativeTime);

export default dayjs;//统一配置